package dcc.mbg.dao;

import dcc.mbg.model.MTrainingStudy;
import dcc.mbg.model.MTrainingStudyExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface MTrainingStudyMapper {
    int countByExample(MTrainingStudyExample example);

    int deleteByExample(MTrainingStudyExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(MTrainingStudy record);

    int insertSelective(MTrainingStudy record);

    List<MTrainingStudy> selectByExample(MTrainingStudyExample example);

    MTrainingStudy selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") MTrainingStudy record, @Param("example") MTrainingStudyExample example);

    int updateByExample(@Param("record") MTrainingStudy record, @Param("example") MTrainingStudyExample example);

    int updateByPrimaryKeySelective(MTrainingStudy record);

    int updateByPrimaryKey(MTrainingStudy record);
}